package com.weixing.mall.provider.api.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.base.enums.IsEnableEnum;
import com.weixing.mall.provider.api.model.enums.*;
import lombok.Data;

import java.util.Date;

/**
 * @Author wx
 * @Date 2019/11/20 16:20
 * @Version 1.0
 */
@Data
public class AgentEditVo {
    //id
    private Long id;
    //微信号
    private String wechatNum;
    //微信名称
    private String wechatNickName;
    //邮箱
    private String email;
    //代理商名字
    private String agentName;
    //代理商编号
    private String agentSn;
    private String agentTreePath;
    //手机号
    private String mobile;
    //登录名
    private String loginName;
    //折扣
    private Double discount;
    //级别
    private AgentLevelEnum agentLevel;
    //金银级
    private AgentTypeEnum agentType;
    //是否正式
    private IsOfficialEnum isOfficial;
    //是否活跃
    private IsActiveEnum isActive;
    //状态
    private IsEnableEnum isEnable;
    //是否有广告权限
    private IsAdsAuthEnum isAdsAuth;
    //备注
    private String remark;

    //客服
    private String customerName;
    private Long customerId;

    //所属经销商
    private Long distributorId;
    private String distributorName;

    private Long parentId;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date maturityTime;
}
